package com.fortune.base;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModelProperty;

public abstract class BaseAPIExcution<T> {
	@ApiModelProperty(value="业务是否成功", required=true, example="业务是否成功")
    protected boolean status;
	@JsonInclude(Include.NON_NULL)
    protected T data;
    @ApiModelProperty(value="可展示给用户的提示信息", required=true, example="可展示给用户的提示信息")
    protected String msg;
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}

}
